package com.hxk.controller;

import java.util.HashMap;
import java.util.Map;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class ExController {

	@RequestMapping("/ex")
	@ResponseBody
	public Map<String, Object> showEx(){
		Map<String, Object> rsMap = new HashMap<>();
		String str = null;
		rsMap.put("msg", str.length());
		return rsMap;
	}
}
